package cn.ks.service.impl;

import cn.ks.domain.Lssue;
import cn.ks.mapper.LssueMapper;
import cn.ks.service.ILssueService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zlj
 * @since 2022-11-18
 */
@Service
public class LssueServiceImpl extends ServiceImpl<LssueMapper, Lssue> implements ILssueService {

    @Autowired
    private LssueMapper lssueMapper;


    @Override
    public Lssue selectByGoodId(Long goodsTypeId) {
        return lssueMapper.selectByGoodId(goodsTypeId);
    }

    @Override
    public Lssue getByName(String name) {
        return lssueMapper.selectByName(name);
    }

    @Override
    public List<Lssue> selectList2(int number) {
        return lssueMapper.selectList2(number);
    }
}
